#ifndef BUTTON_H
#define BUTTON_H

#include "scene.h"
#include <string>

class CButton {
private:
    int x,y;
    int w,h;
    string property;
    int value;
    CScene *gamescene;

public:
    CButton();
    CButton(int tx,int ty,int tw,int th,string tp,int tv,CScene * scena);
    bool Detect(int tx, int ty);
    void Push();
};

#endif // BUTTON_H
